﻿<?xml version="1.0" encoding="utf-8"?>
<customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2009/07/customui">
  <ribbon>
    <tabs>
      <tab idMso="TabMail">
        <group label="Photo" id="OutlookPhotoGroup">
          <button id="ChangePhotoButton"
                  size="large"
                  label="Change Photo"
                  imageMso="ContactPictureMenu"
                  screentip="Change Outlook Photo"
                  description="Outlook 2010 allows specifying a photo for your profile. The photo can be up to 10 KB and not bigger than 96x96 pixels."
                  supertip="Click to view or change the current Outlook photo."
                  onAction="OnChangePhotoButtonClick"/>
        </group>
      </tab>
    </tabs>
  </ribbon>
  <backstage>
    <tab id="TabOutlookPhotoBackstage"
           label="Photo">
      <firstColumn>
        <group id="backstageTabGroup"
              label="Outlook Photo"
              helperText="Change current Outlook photo">
          <primaryItem>
            <button id="ChangePhoto2Button"
                    label="Change Photo"
                    imageMso="ContactPictureMenu"
                    isDefinitive="false"
                    onAction="OnChangePhotoButtonClick"
                    screentip="Click to view or change the current Outlook photo."/>
          </primaryItem>
          <bottomItems>
            <labelControl id="userPhotoLabel" label="Current photo:"/>
            <imageControl id="userImage" getImage="GetCurrentUserImage"/>
          </bottomItems>
        </group>
      </firstColumn>
    </tab>
  </backstage>
</customUI>


